<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Robocup-denayer-project-a: read-only/trunk/source/serial2/rs232.c Bestand Referentie</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gegenereerd door Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Zoeken');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Hoofd&nbsp;Pagina</span></a></li>
      <li><a href="annotated.html"><span>Klassen</span></a></li>
      <li class="current"><a href="files.html"><span>Bestanden</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
          <span class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Zoeken" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </span><span class="right"></span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;Lijst</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functies</a> &#124;
<a href="#var-members">Variabelen</a>  </div>
  <div class="headertitle">
<h1>read-only/trunk/source/serial2/rs232.c Bestand Referentie</h1>  </div>
</div>
<div class="contents">
<code>#include &quot;<a class="el" href="rs232_8h_source.html">rs232.h</a>&quot;</code><br/>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Include afhankelijkheidsgraaf voor rs232.c:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="rs232_8c__incl.png" border="0" usemap="#read-only_2trunk_2source_2serial2_2rs232_8c" alt=""/></div>
<map name="read-only_2trunk_2source_2serial2_2rs232_8c" id="read-only_2trunk_2source_2serial2_2rs232_8c">
<area shape="rect" id="node3" href="rs232_8h.html" title="rs232.h" alt="" coords="101,83,171,112"/></map>
</div>

<p><a href="rs232_8c_source.html">Ga naar de broncode van dit bestand.</a></p>
<h2><a name="func-members"></a>
Functies</h2>
<ul>
<li>int <a class="el" href="rs232_8c.html#afcbe0bdca93dd392b104bf7c7775ba42">OpenComport</a> (int comport_number, int baudrate)
<li>int <a class="el" href="rs232_8c.html#ad2ab07792b6f73449d98cc5f906fd0a8">PollComport</a> (int comport_number, unsigned char *buf, int size)
<li>int <a class="el" href="rs232_8c.html#afe562336ecdfdbe686af2ee967512a87">SendByte</a> (int comport_number, unsigned char byte)
<li>int <a class="el" href="rs232_8c.html#af2a032058a335a76ef91d025ac63942b">SendBuf</a> (int comport_number, unsigned char *buf, int size)
<li>void <a class="el" href="rs232_8c.html#a76b8f1bd6cb72a1e153df998c2742842">CloseComport</a> (int comport_number)
<li>int <a class="el" href="rs232_8c.html#afb5505a101fedc56fcf467e6ef0f3513">IsCTSEnabled</a> (int comport_number)
<li>void <a class="el" href="rs232_8c.html#aae9ecec774ea4c995930ca52555a578b">cprintf</a> (int comport_number, const char *text)
</ul>
<h2><a name="var-members"></a>
Variabelen</h2>
<ul>
<li>HANDLE <a class="el" href="rs232_8c.html#aa220cb7c3b32ff4721c6b41ad7596113">Cport</a> [16]
<li>char <a class="el" href="rs232_8c.html#ab2bffefc20b89744ece9ac8d2cd32d69">comports</a> [16][10]
<li>char <a class="el" href="rs232_8c.html#ac7bd0a51fb021944212b758995a194f9">baudr</a> [64]
</ul>
<hr/><h2>Documentatie van functies</h2>
<a class="anchor" id="a76b8f1bd6cb72a1e153df998c2742842"></a><!-- doxytag: member="rs232.c::CloseComport" ref="a76b8f1bd6cb72a1e153df998c2742842" args="(int comport_number)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CloseComport </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>comport_number</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00360">360</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

</div>
</div>
<a class="anchor" id="aae9ecec774ea4c995930ca52555a578b"></a><!-- doxytag: member="rs232.c::cprintf" ref="aae9ecec774ea4c995930ca52555a578b" args="(int comport_number, const char *text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cprintf </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>comport_number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>text</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00380">380</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

<p>Gebruikt <a class="el" href="serial_8cpp_source.html#l00335">SendByte()</a>.</p>

<p><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png"/> Hier is de call graaf voor deze functie:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="rs232_8c_aae9ecec774ea4c995930ca52555a578b_cgraph.png" border="0" usemap="#rs232_8c_aae9ecec774ea4c995930ca52555a578b_cgraph" alt=""/></div>
<map name="rs232_8c_aae9ecec774ea4c995930ca52555a578b_cgraph" id="rs232_8c_aae9ecec774ea4c995930ca52555a578b_cgraph">
<area shape="rect" id="node3" href="serial_8cpp.html#afe562336ecdfdbe686af2ee967512a87" title="SendByte" alt="" coords="119,5,201,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="afb5505a101fedc56fcf467e6ef0f3513"></a><!-- doxytag: member="rs232.c::IsCTSEnabled" ref="afb5505a101fedc56fcf467e6ef0f3513" args="(int comport_number)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int IsCTSEnabled </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>comport_number</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00366">366</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

</div>
</div>
<a class="anchor" id="afcbe0bdca93dd392b104bf7c7775ba42"></a><!-- doxytag: member="rs232.c::OpenComport" ref="afcbe0bdca93dd392b104bf7c7775ba42" args="(int comport_number, int baudrate)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OpenComport </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>comport_number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>baudrate</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00229">229</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

</div>
</div>
<a class="anchor" id="ad2ab07792b6f73449d98cc5f906fd0a8"></a><!-- doxytag: member="rs232.c::PollComport" ref="ad2ab07792b6f73449d98cc5f906fd0a8" args="(int comport_number, unsigned char *buf, int size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int PollComport </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>comport_number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00321">321</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

</div>
</div>
<a class="anchor" id="af2a032058a335a76ef91d025ac63942b"></a><!-- doxytag: member="rs232.c::SendBuf" ref="af2a032058a335a76ef91d025ac63942b" args="(int comport_number, unsigned char *buf, int size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SendBuf </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>comport_number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00347">347</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

</div>
</div>
<a class="anchor" id="afe562336ecdfdbe686af2ee967512a87"></a><!-- doxytag: member="rs232.c::SendByte" ref="afe562336ecdfdbe686af2ee967512a87" args="(int comport_number, unsigned char byte)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SendByte </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>comport_number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char&nbsp;</td>
          <td class="paramname"> <em>byte</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00335">335</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

</div>
</div>
<hr/><h2>Documentatie van variabelen</h2>
<a class="anchor" id="ac7bd0a51fb021944212b758995a194f9"></a><!-- doxytag: member="rs232.c::baudr" ref="ac7bd0a51fb021944212b758995a194f9" args="[64]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="rs232_8c.html#ac7bd0a51fb021944212b758995a194f9">baudr</a>[64]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00226">226</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

</div>
</div>
<a class="anchor" id="ab2bffefc20b89744ece9ac8d2cd32d69"></a><!-- doxytag: member="rs232.c::comports" ref="ab2bffefc20b89744ece9ac8d2cd32d69" args="[16][10]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="rs232_8c.html#ab2bffefc20b89744ece9ac8d2cd32d69">comports</a>[16][10]</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Initi&euml;le waarde:</b><div class="fragment"><pre class="fragment">{<span class="stringliteral">&quot;\\\\.\\COM1&quot;</span>,  <span class="stringliteral">&quot;\\\\.\\COM2&quot;</span>,  <span class="stringliteral">&quot;\\\\.\\COM3&quot;</span>,  <span class="stringliteral">&quot;\\\\.\\COM4&quot;</span>,
                       <span class="stringliteral">&quot;\\\\.\\COM5&quot;</span>,  <span class="stringliteral">&quot;\\\\.\\COM6&quot;</span>,  <span class="stringliteral">&quot;\\\\.\\COM7&quot;</span>,  <span class="stringliteral">&quot;\\\\.\\COM8&quot;</span>,
                       <span class="stringliteral">&quot;\\\\.\\COM9&quot;</span>,  <span class="stringliteral">&quot;\\\\.\\COM10&quot;</span>, <span class="stringliteral">&quot;\\\\.\\COM11&quot;</span>, <span class="stringliteral">&quot;\\\\.\\COM12&quot;</span>,
                       <span class="stringliteral">&quot;\\\\.\\COM13&quot;</span>, <span class="stringliteral">&quot;\\\\.\\COM14&quot;</span>, <span class="stringliteral">&quot;\\\\.\\COM15&quot;</span>, <span class="stringliteral">&quot;\\\\.\\COM16&quot;</span>}
</pre></div>
<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00221">221</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

</div>
</div>
<a class="anchor" id="aa220cb7c3b32ff4721c6b41ad7596113"></a><!-- doxytag: member="rs232.c::Cport" ref="aa220cb7c3b32ff4721c6b41ad7596113" args="[16]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HANDLE <a class="el" href="rs232_8c.html#aa220cb7c3b32ff4721c6b41ad7596113">Cport</a>[16]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="rs232_8c_source.html#l00218">218</a> in het bestand <a class="el" href="rs232_8c_source.html">rs232.c</a>.</p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Gegenereerd op Do 19 Mei 2011 10:15:29 voor Robocup-denayer-project-a door&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
